package com.itbaizhan.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author spf
 * @date 2024/4/14
 * @time 14:16
 */
@FeignClient("seata-bank2")
public interface TransferLiSi {

    @GetMapping("/bank2/transfer")
    public String transfer(@RequestParam("accountNo") String accountNo, @RequestParam("amount") double amount);

}
